#ifndef __win32LibConnect__h__
#define __win32LibConnect__h__

#include "neiderra/core/iLibrary.h"

#include <windows.h>

namespace neiderra {
    namespace core {

            //! win32 Library Loader
            class win32Library: public iLibrary {
            public:
                win32Library(Core*);
                virtual ~win32Library();

                bool load(const std::string& filename);
                //void load(iInputStream*);

                void connect(Core*);
                void connect();
                void disconnect(Core*);
                void disconnect();

                void* getProcAddress(const std::string& procname);

            private:
                HMODULE libHandle_;
            };

    }
}

#endif
